package cn.xsly.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRegisterDto {
    @NotEmpty(message = "图形验证码不能为空")
    private String imageCode;
    @NotEmpty(message = "手机不能为空")
    private String mobile;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "图形验证码不能为空")
    private int regChannel;
    @NotEmpty(message = "手机验证码不能为空")
    private String smsCode;

    private String code;

}
